Skip to content

Conversation

@archandatta
Copy link
Collaborator

@archandatta archandatta commented Jan 22, 2026

Note

Introduces a new kernel-sdks skill bundle for SDK-based browser automation alongside the existing CLI skills.

  • Adds kernel-sdks to marketplace.json and README install/manual steps
  • New plugin manifest at plugins/kernel-sdks/.claude-plugin/plugin.json
  • Adds kernel-sdks documentation: typescript-sdk/SKILL.md and python-sdk/SKILL.md
  • Provides example integrations for both SDKs (Playwright/CDP, LLM tools, Stagehand, Magnitude, replay management)
  • Updates README with an "Available Skills" section describing kernel-cli and kernel-sdks

Written by Cursor Bugbot for commit f9920eb. This will update automatically on new commits. Configure here.

@linear
Copy link

linear bot commented Jan 22, 2026

KERNEL-845 github.com/kernel/skills

Create a skills repo for installing useful skills for our CLI and SDKs that you can load into popular coding agents

Background:

Goal:

  • Make it easy to supercharge local coding agents with knowledge to get to work using the kernel CLI and SDKs quickly

Prior art:

  • https://github.com/railwayapp/railway-skills
    • things i like:
      • curl install to get it into any coding agent
      • good example of how to make a skill for a cli
  • https://github.com/expo/skills
    • things i like:
      • has use-case oriented plugins you can install, e.g. I could see us creating a skill around building a browser agent, etc. (out of scope for this ticket but something to keep in mind)

Desired flow in Claude Code:

  • /plugin marketplace add kernel/skills
  • /plugin install kernel-cli -> installs Kernel CLI skill
  • /plugin install kernel-sdks -> installs SDK skills (can break out ts and python into subdirectory references/ files for progressive disclosure)

Desired flow for other coding agents:

  • curl some kernel.sh url that redirects to a raw github URL e.g. curl -fsSL https://www.kernel.sh/skills | bash and set up a redirect at that url to something like https://raw.githubusercontent.com/kernel/skills/main/install.sh

Some acceptacne tests:

  • once the CLI skill is installed, asking Claude to do something like "spin up a browser and test navigating to kernel.sh and taking a screenshot" should immediately lead to the exactly correct kernel CLI usage:
    • kernel browsers create … -o json
    • kernel browsers playwright execute …
    • kernel browsers screenshot …
  • Similarly for the SDK skill, if a query is made like "build a playwright script in typescript that spins up a remote browser and …" should immediately churn out a correct script using onkernel/sdk without having to run any web searches / doc searches etc.

@archandatta archandatta changed the title [kernel-845] add skills: kernel-sdks for TS or Python [kernel-845] add skills: kernel-sdks for TS and Python Jan 22, 2026
@archandatta archandatta force-pushed the archand/kernel-845/add-sdk-plugin branch from 9bbb59c to 6d32445 Compare January 26, 2026 20:30
@archandatta archandatta marked this pull request as ready for review January 26, 2026 20:40
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

},
browser: { cdp: kernelBrowser.cdp_ws_url },
narrate: true,
});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Browser resource leak if startBrowserAgent fails

Medium Severity

The startBrowserAgent() call is placed outside the try block, after kernel.browsers.create(). If startBrowserAgent() fails (network error, invalid API key, etc.), the finally block never executes and the created browser resource leaks. Other examples in this file (Stagehand, CDP Connection, Auto-CAPTCHA) correctly place all code after browser creation inside the try block to ensure cleanup.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants